.registerPage {
  min-height: 100vh;
  background-color: #fff;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden; /* 防止水平滚动 */
  justify-content: center; /* 垂直居中整个表单 */
}

.formContainer {
  padding: 2vh 4vw;  /* 减小上下内边距 */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 92vw;
  max-width: 420px;
  box-sizing: border-box;
  margin: 0 auto;
}

.title {
  font-size: clamp(18px, 4vw, 24px); /* 减小字体大小 */
  font-weight: 700;
  margin-bottom: 1vh; /* 减小下边距 */
  text-align: center;
  margin-top: 0; /* 移除顶部边距 */
  color: #222;
  letter-spacing: 1px;
}

.subtitle {
  font-size: clamp(12px, 2.5vw, 16px); /* 减小字体大小 */
  color: #888;
  margin-bottom: 2vh; /* 减小下边距 */
  text-align: center;
}

.uploaderButton {
  width: clamp(48px, 15vw, 80px); /* 减小上传按钮尺寸 */
  height: clamp(48px, 15vw, 80px);
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
  border: 2px solid #e6e6e6;
  cursor: pointer;
}

.uploaderButton:hover {
  box-shadow: 0 4px 16px rgba(22,119,255,0.08);
  border-color: #1677ff;
}

.uploaderButton span {
  font-size: clamp(10px, 2vw, 12px); /* 减小字体大小 */
  margin-top: 4px; /* 减小上边距 */
}

.loginLink {
  margin-top: 2vh; /* 减小上边距 */
  text-align: center;
  font-size: clamp(12px, 2.5vw, 14px); /* 减小字体大小 */
  color: #888;
}

.loginLink a {
  color: #1677ff;
  margin-left: 4px;
  font-weight: 500;
  text-decoration: none;
}

.loginLink a:hover {
  text-decoration: underline;
}

/* 自定义导航栏样式 */
:global(.adm-nav-bar-back-arrow) {
  margin-left: 0;
  padding-left: 0;
}